<?php
//include 'includes/application_top.inc';
 if($_SESSION['email']=="" && $_SESSION['first_name']=="")
{
	header("location:index.php");
	
	//print_r($_SESSION);
}

function success($msg='')
  {
    return "<div class=\"alert alert-success alert-dismissable\">  <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">&times;</button><strong>$msg</strong></div>";
  }

  function error($msg='')
  {
    return "<div class=\"alert alert-danger alert-dismissable\">  <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">&times;</button><strong>$msg</strong></div>";
  }
?>
